<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<h1><%= @event.name %></h1>
<hr />
<h3><%= @event.location %></h3>
<h4><%= "#{@event.start_time} - #{@event.end_time}" %></h4>

<h4>Elections</h4>
<% @event.elections.each do | elec | %>
  <%= link_to elec.name, :controller=>'election', :action=>'index', :id=>elec.id %>
<% end %>